package com.example.demo;

import com.example.demo.socket.NettyServerThread;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zhihang.yzh
 */
@SpringBootApplication
public class NettyServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(NettyServerApplication.class, args);

        //创建一个线程
        new Thread(new NettyServerThread()).start();
    }
}
